﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="OrderInfo.aspx.cs" Inherits="Home_OrderInfo" %>

<%@ Import Namespace="Shopping.Common" %>
<%@ Import Namespace="Shopping.Model" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>订单详情</title>
    <link href="/css/base.css" rel="stylesheet" type="text/css" />
    <link href="/css/home.css" rel="stylesheet" type="text/css" />
    <link href="/css/patch.css" rel="stylesheet" type="text/css" />
     <!--#include file="~/Public/commonjs.shtml" -->
</head>
<body>
    
    
 	 <!--#include file="~/Public/top.shtml" -->

     <!--main开始-->
     <div class="main w960 cb pr">
        <div class="service" style="top:30px; _top:38px;" id="divContactUs">
          <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=1186089288&site=qq&menu=yes" title="点击这里给我发消息吧"><img src="/images/service.jpg" /></a>
       </div>
       <div class="block1 mt10">
         <!--left-->
         <div class="m_left">
          <div class="cb mb10">
          <div class="left_bar_hot"></div>
           <div class="left_hot">
             <div class="white_bg">
              <!--#include file="~/AutoGenerate/list-hotgoods-words.shtml" -->
             </div>
             
             <div class="left_hot_list">
                 <!--#include file="~/AutoGenerate/list-hotgoods-pic.shtml" -->
             </div>
           </div>
           
           <div class="left_bar_bottom"></div>
           </div>
         </div>
         <!--left end-->
         <!--right-->
         <div class="m_right ft">
            <p class="tar mr10">
              当前位置： <a href="/Home/MyOrders.aspx">我的订单</a> > <span class="fb f14 blue">订单详细信息</span>
            </p>
      
            <div class="area">
              <div class="area_top"></div>
              <div class="area_main">
								
               <div class="other_title">
                 <h2 class="list_bg4 f14 pl30">收货人信息 </h2>

                  <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0" class="my_center3 wh90 hui6">

                   <tr>
                   <td align="left" class="pl5">收 货 人：</td>
                   <td align="left"><%=o.Order.ReceiverName %></td>
                  </tr>
                 
                  <tr>
                  <td align="left" class="pl5">收货地址：</td>
                  <td align="left"><%=o.Area.Province.Name %><%=o.Area.CityName %><%=o.Area.Area.AreaName %> <%=o.Order.ReceiverAddress %> </td>
                  </tr>
                  <tr>
                  <td align="left" class="pl5">手机号码：</td>
                  <td align="left"><%=o.Order.ReceiverMobile %> 或固定电话：<%=o.Order.ReceiverPhone %></td>
                  </tr>
                <tr>
                  <td align="left" class="pl5">邮政编码：</td>
                  <td align="left"><%=o.Order.ReceiverZipCode %></td>
                  </tr>
              </table>

                 <h3>支付及配送方式</h3>
                 <ul class="payment">
                   <li>
                   支付方式：
                   </li>
                    <li>
                    <%=o.Order.PayMode %>
                   </li>
                 </ul>
                 <ul class="payment">
                   <li>
                   配送方式：
                   </li>
                    <li><%=o.Order.SendMode %> </li>
                 </ul>
               
                <h2 class="list_bg4 f14 pl30 cb">发票 </h2>
                 <ul class="payment mt20">
                   <li>
                   发票抬头：<%=o.Order.FaPiao %>
                   </li>
                   
                 </ul>
                  <h2 class="list_bg4 f14 pl30 cb">商品清单 </h2>
                
             </div>
               <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0" class="my_center2 wh90 hui6">
                  <tr class="list_bg7">
                  <th height="38">商品编号</th>
                  <th>商品图片</th>
                  <th>商品名称</th>
                  <th>点客价</th>
                  <th>赠送积分</th>
                  <th>库存状态</th>
                  <th>数量</th>
                  </tr>
                  <%
                     
                          for (int i = 0; i < o.Lines.Count; ++i)
                          {
                              OrderLineInfo l = o.Lines[i];
                  %>
                  <tr>
                  <td align="center" class="pl5"><%=l.LineInfo.GoodsID %></td>
                  <td align="center"><a href="/Goods/<%=l.LineInfo.GoodsID %>.html" target="_blank" title="<%=l.GoodsName %>"><img src="<%=l.SuperSmallPictureUrl %>" /></a></td>
                  <td align="center" class="wh200"><a href="/Goods/<%=l.LineInfo.GoodsID %>.html" target="_blank" title="<%=l.GoodsName %>"><%=l.GoodsName %></a></td>
                  <td align="right" class="red_bold pr20"><%=Utility.FormatMoneyStr(l.LineInfo.Price) %>元</td>
                  <td align="center"><%=l.LineInfo.PresentScores %></td>
                  <td align="center">现货</td>
                  <td align="center"><%=l.LineInfo.Quantity %></td>
                  </tr>
                  <%}
                     
                   %>
                
              </table>
                <!--优惠券-->
                <%
                    if (o.Order.CouponSN != null)
                    {
                %>
				<h2 class="list_bg4 f14 pl30 cb">优惠券 </h2>
                <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0" class="my_center3 wh90 hui6">
                  <tr>
                   <td align="left" class="pl5" colspan="2">
                   <%=o.Order.CouponSN.Value%> (<%=Math.Round(o.Order.CouponMoney, 0)%>元优惠券)
                   </td>
                  </tr>
               </table>
               <%} %>
        <div>
        
        </div>  
        <!--备注信息-->
        <h2 class="list_bg4 f14 pl30 cb">备注信息 </h2>
         <ul class="payment mt20">
                   <li>
                  <%=o.Order.Remark %>
                   </li>
                   
         </ul>
         
          <!--结算信息-->
        <h2 class="list_bg4 f14 pl30 cb">结算信息</h2>
         <ul class="payment mt20">
                   <li class="w600">
                   商品总价：￥<%=Utility.FormatMoneyStr(o.TotalGoodsMoney) %> + 运费：￥<span id="spSendFee"><%=Utility.FormatMoneyStr(o.Order.SendFee) %></span> - 使用优惠券：<span id="spCouponMoney"><%=Utility.FormatMoneyStr(o.Order.CouponMoney) %></span>元 = 共计：￥<span id="spOrderMoney"><%=Utility.FormatMoneyStr(o.Order.TotalAmount) %></span>元
                   </li>
         </ul>
         <div class="btn_submit3 cb"></div>
        
                     
    </div>
            <div class="area_bottom"></div>
            
            </div>
         
       </div>
         </div> 
         <!--right end-->
       </div>
        
     <!--new product-->
     <!--new product end-->
         <!--六个块-->
         <!--休闲食品-->
         <!---块结束-->
        
         
     </div>
     <!--main结束-->
      <div class="share cb w960">
        <div>
           <!--#include file="~/AutoGenerate/AllPage-Bottom-Banner.htm" -->
        </div>
          <!--#include file="~/Public/bottom-shopHelper.shtml" -->
     </div>
    
    <!--#include file="~/Public/bottom.shtml" -->


</body>
</html>
